GtkWindow: use a weak ref to keep track of attach_widget
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 May 2013 12:01:14 +0000 (08:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 May 2013 12:01:14 +0000 (08:01 -0400)
commitfb08a26acdb5aff94e3a33997a030147109b001c
tree6d40585d5df745a4afe291490eac041b16a31519
parentf326c0eac806b037c7100309887ffc5f9193070d
GtkWindow: use a weak ref to keep track of attach_widget

Taking a full reference of the attach widget creates a reference
cycle, and keeps the attach_widget alive longer than it should.
gtk/gtkwindow.c